''' this module is a namespace for the data in constants.CONFIG_FN.
'''
import os
import sys
from pykelib.constants import *
from pygame.locals import *

def load(pyw_dir):
    global PYW_DIR, CONFIG_FN
    PYW_DIR = pyw_dir	# allow the code in CONFIG_FN to use this directory
    CONFIG_FN = os.path.join(pyw_dir, constants.CONFIG_FN)
    exec file(CONFIG_FN).read() in globals()


